/* ========================================
   MAIN STYLES CSS - Page-specific Styles
   ======================================== */

/* Import Components */
@import url('components.css');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(77, 120, 73, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 158, 102, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #666;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 50vh;
    align-items: center;
    padding-top: 80px;
    position: relative;
    background: 
        linear-gradient(90deg, rgba(248, 249, 250, 0.95) 0%, rgba(248, 249, 250, 0.8) 30%, rgba(248, 249, 250, 0.4) 60%, rgba(248, 249, 250, 0.1) 80%, transparent 100%),
        url('../images/upscaled wine glass.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(248, 249, 250, 0.9) 0%, rgba(248, 249, 250, 0.7) 25%, rgba(248, 249, 250, 0.3) 50%, rgba(248, 249, 250, 0.1) 75%, transparent 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(77, 120, 73, 0.1) 0%, rgba(107, 158, 102, 0.05) 100%);
    z-index: 2;
}

.hero-content {
    padding: 4rem 2rem;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 4rem;
    color: #4d7849;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: #4d7849;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #4d7849;
}

.cta-button:hover {
    background: transparent;
    color: #4d7849;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 3;
}

.hero-placeholder {
    width: 500px;
    height: 500px;
    background: 
        radial-gradient(circle at center, rgba(77, 120, 73, 0.1) 0%, rgba(77, 120, 73, 0.05) 50%, transparent 70%),
        linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(248, 249, 250, 0.4) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #4d7849;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(77, 120, 73, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-placeholder img {
    filter: drop-shadow(0 10px 20px rgba(77, 120, 73, 0.3));
    transition: transform 0.3s ease;
}

.hero-placeholder:hover img {
    transform: scale(1.05);
}

.hero-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Featured Section */
.featured {
    padding: 5rem 0;
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 16px),
        linear-gradient(135deg, rgba(77, 120, 73, 0.85) 0%, rgba(107, 158, 102, 0.85) 100%);
}

.section-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 3rem;
}

.inverse-title {
    text-align: center;
    color: #4d7849;
    margin-bottom: 3rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-10px);
}

.featured-image {
    margin-bottom: 1.5rem;
}

.image-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #4d7849 0%, #6b9e66 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
    font-size: 3rem;
}

.featured-item h3 {
    color: #4d7849;
    margin-bottom: 1rem;
}

/* About Preview */
.about-preview {
    padding: 3rem 0 1.5rem 0;
    background: #f8f9fa;
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-content h2 {
    color: #4d7849;
    margin-bottom: 2rem;
}

.learn-more {
    display: inline-block;
    color: #4d7849;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #4d7849;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: #4d7849;
    border-bottom-color: #4d7849;
}

/* Services */
.services {
    padding: 2rem;
    background:
        radial-gradient(700px 350px at 20% -10%, rgba(136,88,54,0.05) 0%, rgba(136,88,54,0) 60%),
        white;
    border-top: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #4d7849;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: #4d7849;
    margin-bottom: 1rem;
}

/* Contact CTA */
.contact-cta {
    padding: 5rem 0;
    background:
        radial-gradient(1200px 600px at 10% 10%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 60%),
        radial-gradient(800px 400px at 90% 20%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 60%),
        linear-gradient(135deg, rgba(77, 120, 73, 0.85) 0%, rgba(107, 158, 102, 0.85) 100%);
    text-align: center;
    color: white;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.contact-cta .cta-button {
    background: white;
    color: #4d7849;
    border-color: white;
}

.contact-cta .cta-button:hover {
    background: transparent;
    color: white;
}

/* Page Header */
.page-header {
    padding: 4rem 0 4rem;
    background:
        repeating-linear-gradient(-30deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 14px),
        linear-gradient(135deg, rgba(77, 120, 73, 0.9) 0%, rgba(107, 158, 102, 0.9) 100%);
    text-align: center;
    color: white;
    margin-top: 80px;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* About Page Specific */
.our-story {
    padding: 5rem 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    color: #4d7849;
    margin-bottom: 1.5rem;
}


.our-process {
    padding: 4rem 0;
    background:
        /* solid accent band at bottom */
        linear-gradient(to bottom, rgba(0,0,0,0) calc(100% - 80px), #4d7849 calc(100% - 80px) 100%),
        repeating-linear-gradient(45deg, rgba(136, 88, 54, 0.03) 0 1px, rgba(255,255,255,0) 1px 18px),
        linear-gradient(180deg, #ffffff 0%, #ffffff 60%, #faf7f3 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Our Process title overrides */
.our-process .inverse-title {
    color: #333;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.our-process .inverse-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #4d7849;
    margin: 0.75rem auto 0;
    border-radius: 3px;
    opacity: 0.9;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #4d7849;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.workshop {
    padding: 5rem 0;
    background:
        repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 18px),
        linear-gradient(135deg, rgba(77, 120, 73, 0.92) 0%, rgba(107, 158, 102, 0.92) 100%);
}

.workshop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.workshop-text{
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.values {
    padding: 5rem 0;
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #4d7849;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.team {
    padding: 5rem 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.member-image {
    margin-bottom: 1.5rem;
}

/* Contact Page Specific */
.contact-form-section {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: #4d7849;
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: #4d7849;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.method-details h4 {
    color: #4d7849;
    margin-bottom: 0.5rem;
}

.method-details p {
    margin-bottom: 0.25rem;
    color: #666;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h3 {
    color: #4d7849;
    margin-bottom: 1.5rem;
}

.find-us {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid #4d7849;
    border-radius: 10px;
}

.find-us h4 {
    color: #4d7849;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4d7849;
}

.submit-btn {
    background: #4d7849;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #6b9e66;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background:
        radial-gradient(700px 350px at 110% 0%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 60%),
        linear-gradient(135deg, rgba(77, 120, 73, 0.9) 0%, rgba(107, 158, 102, 0.9) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #4d7849;
    margin-bottom: 1rem;
}


/* Section Dividers */
.section-divider {
    height: 2px;
    width: 200px;
    border: 0;
    margin: 2.5rem auto;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(77, 120, 73, 0.35) 50%, rgba(0,0,0,0) 100%);
    border-radius: 2px;
}

.section-divider.section-divider--third {
    width: 33%;
    max-width: 420px;
    height: 4px;
    margin: 3rem auto;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(77, 120, 73, 0.55) 50%, rgba(0,0,0,0) 100%);
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
        background: 
            linear-gradient(180deg, rgba(248, 249, 250, 0.95) 0%, rgba(248, 249, 250, 0.8) 40%, rgba(248, 249, 250, 0.4) 70%, rgba(248, 249, 250, 0.1) 90%, transparent 100%),
            url('../images/upscaled wine glass.png');
        background-size: cover;
        background-position: center bottom;
        background-attachment: scroll;
    }
    
    .hero::before {
        background: 
            linear-gradient(180deg, rgba(248, 249, 250, 0.9) 0%, rgba(248, 249, 250, 0.7) 30%, rgba(248, 249, 250, 0.3) 60%, rgba(248, 249, 250, 0.1) 80%, transparent 100%);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-placeholder {
        width: 350px;
        height: 350px;
    }
    
    .about-preview .container,
    .story-content,
    .workshop-content,
    .visit-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-grid,
    .services-grid,
    .process-grid,
    .values-grid,
    .team-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
}
